Package-level declarations
Contains all classes/methods relating to the Home Page UI
Functions
Link copied to clipboard
Returns a greeting based on the time of day. It checks the hour of the day and returns a corresponding greeting: "Good Morning!", "Good Afternoon!", or "Good Evening!".
Link copied to clipboard
fun HomeScreen(modifier: Modifier = Modifier, openDrawer: () -> Unit, onNavigateToMoodEvaluation: () -> Unit, onNavigateToJournal: () -> Unit, onNavigateToChatbot: () -> Unit, onNavigateToAnalytics: () -> Unit)
Composable for the Home screen, which serves as the main dashboard. It includes navigation options to different sections of the app such as mood evaluation, journaling, chatbot, and analytics.
Link copied to clipboard
Composable function that creates a navigation card with an icon, text, and a forward arrow button. The card is clickable and triggers the provided navigation action when clicked.